import { Injectable } from '@angular/core';
import {HttpService} from '../http.service';
import {adSystemApiUrl} from '../../../../config/api';

@Injectable()
export class HomeConfigService {

  constructor(private httpService: HttpService) { }

  getHomeConfig() {
    const url = adSystemApiUrl + '/v1/fddata/site_setting/detail';
    return this.httpService.httpGetAuth(url).map(data => data);
  }
}
